package com.lazy.study.hello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lazy on 17-5-16.
 */
@RestController
@SpringBootApplication
public class App {
    @RequestMapping("/")
    public String hello(){
        return "Hello world!";
    }

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
